package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.WxcldProductBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface WxcldProductService extends BaseService<WxcldProductBean> {

	WxcldProductBean getWxcldProductBeanById(String id) throws Exception;
	
	void removeWxcldProductBeanById(String id) throws Exception;
	
	void removeWxcldProductBeanByIds(String ids) throws Exception;
	
	WxcldProductBean saveWxcldProductBean(WxcldProductBean crm) throws Exception;
	
	WxcldProductBean updateWxcldProductBean(WxcldProductBean crm) throws Exception;
	
	Page<WxcldProductBean>  findWxcldProductBeanByCond(WxcldProductBean bean,
			Page<WxcldProductBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveWxcldProductBeanExt(String sql) throws Exception;

	String findWxcldProductBeanExtCreate(String tableName) throws Exception;

	String findWxcldProductBeanExtEdit(String tableName, String id)
			throws Exception;

	String findWxcldProductBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasWxcldProductBeanExtData(String tableName, String id)
			throws Exception;
}